#include <stdbool.h>
#include <stdint.h>
#include <string.h>
#include <plc_backup.h>
#include <plc_hw.h>

#include <plc_config.h>
#include <hwboard.h>

void plc_backup_init(void)
{
}

void plc_backup_reset(void)
{
    board.retain_reset();
}

void plc_backup_invalidate(void)
{
    board.retain_invalidate();
}

void plc_backup_validate(void)
{
    board.retain_validate();
}

int plc_backup_check(void)
{
    return board.retain_check();
}
int plc_backup_close(void)
{
    return board.retain_close();
}
void plc_backup_remind(unsigned int offset, unsigned int count, void *p)
{
    board.retain_remind(offset, count, p);
}

void plc_backup_retain(unsigned int offset, unsigned int count, void *p)
{
    board.retain(offset, count, p);
}
